export interface Coupon {
  id: number;
  name: string;
  code: string;
  value: string;
  expiry: string;
  status: 'valid' | 'used' | 'expired';
  admin: string;
  userPhone: string;
  useTime: string;
  createTime: string;
  limit: string;
  products: string;
  description: string;
}

export interface CouponFormData {
  name: string; // 优惠券名字
  type: 'fixed_amount' | 'discount_ratio'; // 优惠券类型
  value: number; // 优惠券金额  
  threshold: number; // 使用门槛
  expireAt: number; // 有效期限
  generateCount: number; // 生成数量
  applicableProduct: 'all_products' | 'membership_package' | 'super_director' | 'digital_employee' | 'xiaorui_zhibo'; // 适用产品
  description: string; // 优惠券描述
}

export interface CouponListFilters {
  status: string;
  searchText: string;
  page: number;
  pageSize: number;
} 